package com.eqxiu.iom.msg.dto.msg;

import java.io.Serializable;

/**
 * @classname: UserInfoDTO.java
 * @author: th
 * @version: 1.0
 * @description: 用户数据dto
 * @createtime: 2019-12-04 16:25
 */
public class UserInfoDTO implements Serializable {

    private static final long serialVersionUID = -1287702710578442787L;
    /**
     * 用户id --必填
     */
    private String userid;
    /**
     * 登录名(行为触发方登录名或消息接收方登录名)
     */
    private String loginName;
    /**
     * 用户类型(旧的账号类型)
     * 参见:com.eqxiu.user.enum.UserType
     */
    private Byte userType;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Byte getUserType() {
        return userType;
    }

    public void setUserType(Byte userType) {
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "UserInfoDTO{" +
                "userid='" + userid + '\'' +
                ", loginName='" + loginName + '\'' +
                ", userType=" + userType +
                '}';
    }
}
